package com.ourteam.product.model.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 IRKT 2017
 * Auto Generate Date : 2017-11-17 11:00:38
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductModelPackageDAO extends IDataAccessInterface<ProductModelPackage, ProductModelPackageDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_MODEL_PACKAGE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_MODEL_PACKAGE.ID";

    /**
     * Mapped Field DOMAIN_ID
    */
    static final String DomainId = "PRODUCT_MODEL_PACKAGE.DOMAIN_ID";

    /**
     * Mapped Field PACKAGE_NAME
    */
    static final String PackageName = "PRODUCT_MODEL_PACKAGE.PACKAGE_NAME";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_MODEL_PACKAGE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_MODEL_PACKAGE.REMARKS";

    /**
     * Mapped Field PACKAGE_TYPE
    */
    static final String PackageType = "PRODUCT_MODEL_PACKAGE.PACKAGE_TYPE";

    /**
     * Mapped Field MODEL_XML
    */
    static final String ModelXML = "PRODUCT_MODEL_PACKAGE.MODEL_XML";

    /**
     * Mapped Field LAST_MODIFY_TIME
    */
    static final String LastModifyTime = "PRODUCT_MODEL_PACKAGE.LAST_MODIFY_TIME";

    /**
     * Mapped Field LAST_MODIFIER_ID
    */
    static final String LastModifierId = "PRODUCT_MODEL_PACKAGE.LAST_MODIFIER_ID";

    /**
     * Mapped Field LAST_MODIFIER_NAME
    */
    static final String LastModifierName = "PRODUCT_MODEL_PACKAGE.LAST_MODIFIER_NAME";

    /**
     * Mapped Field SUBMITTER_ID
    */
    static final String SubmitterId = "PRODUCT_MODEL_PACKAGE.SUBMITTER_ID";

    /**
     * Mapped Field CREATOR_NAME
    */
    static final String CreatorName = "PRODUCT_MODEL_PACKAGE.CREATOR_NAME";

    /**
     * Mapped Field CREATE_TIME
    */
    static final String CreateTime = "PRODUCT_MODEL_PACKAGE.CREATE_TIME";

    /**
     * Mapped Attribute domainName
    */
    static final String DomainName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.model.dao.IProductModelDomainDAO.DomainName,
            com.ourteam.product.model.dao.IProductModelDomainDAO.EntityName +
            ".", "PRODUCT_MODEL_DOMAIN.");

    /**
     * Mapped Attribute domainCode
    */
    static final String DomainCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.model.dao.IProductModelDomainDAO.DomainCode,
            com.ourteam.product.model.dao.IProductModelDomainDAO.EntityName +
            ".", "PRODUCT_MODEL_DOMAIN.");

    /**
     * Mapped Attribute domainStatus
    */
    static final String DomainStatus = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.model.dao.IProductModelDomainDAO.Status,
            com.ourteam.product.model.dao.IProductModelDomainDAO.EntityName +
            ".", "PRODUCT_MODEL_DOMAIN.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductModelPackage findById(final long id) throws Exception;

    /**
         * Query Related ProductModelObject
         * @param aQueryBean
         * @throws Exception
         */
    com.ourteam.product.model.dao.ProductModelObject[] queryProductModelObject(
        final ProductModelPackageDAOQueryBean queryBean)
        throws Exception;

    /**
         * Query Related ProductModelObject Selective
         * @param queryBean
         * @throws Exception
         */
    java.util.Map<String, Object>[] queryProductModelObjectSelective(
        final ProductModelPackageDAOQueryBean queryBean)
        throws Exception;

    /**
         * Update Related ProductModelObject
         * @param aProductModelObject
         * @param queryBean
         * @throws Exception
         */
    void updateProductModelObject(
        final com.ourteam.product.model.dao.ProductModelObject aProductModelObject,
        ProductModelPackageDAOQueryBean queryBean) throws Exception;

    /**
         * Delete Related ProductModelObject
         * @param queryBean
         * @throws Exception
         */
    void deleteProductModelObject(
        final ProductModelPackageDAOQueryBean queryBean)
        throws Exception;

    static public interface DataProperty {
        /**
         * Attribute modelXML
         */
        static final String ModelXML = "modelXML";

        /**
         * Attribute lastModifyTime
         */
        static final String LastModifyTime = "lastModifyTime";

        /**
         * Attribute lastModifierId
         */
        static final String LastModifierId = "lastModifierId";

        /**
         * Attribute lastModifierName
         */
        static final String LastModifierName = "lastModifierName";

        /**
         * Attribute packageType
         */
        static final String PackageType = "packageType";

        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute domainId
         */
        static final String DomainId = "domainId";

        /**
         * Attribute packageName
         */
        static final String PackageName = "packageName";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute domainName
         */
        static final String DomainName = "domainName";

        /**
         * Attribute domainCode
         */
        static final String DomainCode = "domainCode";

        /**
         * Attribute domainStatus
         */
        static final String DomainStatus = "domainStatus";

        /**
         * Attribute submitterId
         */
        static final String SubmitterId = "submitterId";

        /**
         * Attribute creatorName
         */
        static final String CreatorName = "creatorName";

        /**
         * Attribute createTime
         */
        static final String CreateTime = "createTime";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
